package com.example.computer_exam_training_sys.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Getter
@Setter
public class UserLearningGoal {
    private Long goalId;
    private Long userId;
    private String goalType;      // 目标类型
    private Integer targetValue;  // 目标值
    private Integer currentValue; // 当前值
    private LocalDate startDate;  // 开始日期
    private LocalDate endDate;    // 结束日期
    private String status;        // 状态：active-进行中, completed-已完成, abandoned-已放弃
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String userName;      // 用户名
} 